<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <table>
            <tr v-for="(val,key,index) in objs">
                <td>
                    
                    {{index+1}} - {{ key }} : {{ val }}
                </td>
            </tr>
        </table>
    </div>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
    <script>
        let app = new Vue({
            el: '#app',
            data(){
                return {
                    objs: {
                        age: 33,
                        nickname: '小黑猪',
                        name: '秘密',
                        score: 78,
                        class: '软件技术2班-2019',
                        school: '闽西职业技术学院'
                    }
                }
            }
        })
    </script>
</body>
</html>